package cn.kgc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
* 描述：用户登录信息表
* @author 
* @date 2018/03/05
*/
public class User_login implements Serializable {

    /**
     * 用户登录信息表id
     */
    private Integer id;
   /**
    * 账号名
    */
    private String userName;
   /**
    * 角色id
    */
    private Integer roleId;
   /**
    *最新登录时间
    */
   @JsonFormat(pattern = "yyyy-MM-dd")
    private Date loginTime;
   /**
    * 登录密码
    */
    private String password;

    /**
     * 用户id
     */
    private Integer userid;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public User_login(){}
    
    public User_login(Integer userid,Integer id, String userName, Integer roleId, Date loginTime, String password){
        this.id = id;
        this.userName = userName;
        this.roleId = roleId;
        this.loginTime = loginTime;
        this.password = password;
        this.userid =userid;

    }

   /**获取属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取属性的值*/
    public String getUserName() {
        return this.userName;
    }
   /**设置属性的值*/
    public void setUserName(String userName) {
        this.userName = userName;
    }
   /**获取属性的值*/
    public Integer getRoleId() {
        return this.roleId;
    }
   /**设置属性的值*/
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
   /**获取属性的值*/
    public Date getLoginTime() {
        return this.loginTime;
    }
   /**设置属性的值*/
    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }
   /**获取属性的值*/
    public String getPassword() {
        return this.password;
    }
   /**设置属性的值*/
    public void setPassword(String password) {
        this.password = password;
    }
}
